package com.ssy.lingxi.member.merchant.model.vo.maintenance.response;

import com.ssy.lingxi.member.merchant.entity.MemberStoreDO;

import java.io.Serializable;

/**
 * 门店详情返回参数VO
 * @author wyx
 * @version 2.0.0
 * @date 2022-02-14
 **/
public class MemberStoreDetailVO implements Serializable {
    private static final long serialVersionUID = 3643086747045322511L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 门店代码
     */
    private String code;

    /**
     * 门店名称
     */
    private String name;

    /**
     * 门店logo
     */
    private String logo;

    /**
     * 省编码
     */
    private String provinceCode;

    /**
     * 省名称
     */
    private String provinceName;

    /**
     * 市编码
     */
    private String cityCode;

    /**
     * 市名称
     */
    private String cityName;

    /**
     * 区编码
     */
    private String districtCode;

    /**
     * 区名称
     */
    private String districtName;

    /**
     * 街道编码
     */
    private String streetCode;

    /**
     * 街道名称
     */
    private String streetName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 邮政编码
     */
    private String postalCode;

    /**
     * 联系人姓名
     */
    private String contactName;

    /**
     * 国家编码（手机号码前缀）
     */
    private String countryCode;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 职位
     */
    private String position;

    /**
     * 关联组织机构
     */
    private MemberOrganizationVO org;

    /**
     * 发货地址
     */
    private MemberDeliverAddressDetailVO deliverAddress;

    /**
     * 收货地址
     */
    private MemberReceiveAddressDetailVO receiveAddress;

    public MemberStoreDetailVO(MemberStoreDO memberStoreDO) {
        this.id = memberStoreDO.getId();
        this.code = memberStoreDO.getCode();
        this.name = memberStoreDO.getName();
        this.logo = memberStoreDO.getLogo();
        this.provinceCode = memberStoreDO.getProvinceCode();
        this.provinceName = memberStoreDO.getProvinceName();
        this.cityCode = memberStoreDO.getCityCode();
        this.cityName = memberStoreDO.getCityName();
        this.districtCode = memberStoreDO.getDistrictCode();
        this.districtName = memberStoreDO.getDistrictName();
        this.streetCode = memberStoreDO.getStreetCode();
        this.streetName = memberStoreDO.getStreetName();
        this.address = memberStoreDO.getAddress();
        this.postalCode = memberStoreDO.getPostalCode();
        this.contactName = memberStoreDO.getContactName();
        this.countryCode = memberStoreDO.getCountryCode();
        this.phone = memberStoreDO.getPhone();
        this.email = memberStoreDO.getEmail();
        this.position = memberStoreDO.getPosition();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictCode() {
        return districtCode;
    }

    public void setDistrictCode(String districtCode) {
        this.districtCode = districtCode;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getStreetCode() {
        return streetCode;
    }

    public void setStreetCode(String streetCode) {
        this.streetCode = streetCode;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public MemberOrganizationVO getOrg() {
        return org;
    }

    public void setOrg(MemberOrganizationVO org) {
        this.org = org;
    }

    public MemberDeliverAddressDetailVO getDeliverAddress() {
        return deliverAddress;
    }

    public void setDeliverAddress(MemberDeliverAddressDetailVO deliverAddress) {
        this.deliverAddress = deliverAddress;
    }

    public MemberReceiveAddressDetailVO getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(MemberReceiveAddressDetailVO receiveAddress) {
        this.receiveAddress = receiveAddress;
    }
}
